﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--[if IE 6 ]><html class="ie6"><![endif]-->
<!--[if IE 7 ]><html class="ie7"><![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%set string category_title=get_category_title(model.category_id,"新闻资讯")%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> {model.seo_title}</title>

<meta content="{model.seo_keywords}" name="keywords" />
<meta content="{model.seo_description}" name="description" />
 <!--css-->
<%template src="cssjs.html"%>
<!--/css-->
</head>
<body>
<div class="wrapper">
  <!--Header-->
<%template src="_header.html"%>
<!--/Header-->
   <div id="page_modules">
    
    <div class="center_wrapper clearfix">
      <div class="left_con">
        <h3 class="tile_left"><span class="en"><em>JuiceUp</em><em class="lightGreen">News</em></span><span>{category_title}</span></h3>
        <div class="partLeftpic"><img src="<%templateskin%>/images/358_498_03.jpg" /></div>
        <div class="juiceUpCarLeft">
          <img src="<%templateskin%>/images/juiceUpCar_l.gif"  />
          <div><a href="<%linkurl("goods")%>" class="personOrder">开始您的订购吧</a></div>
        </div>
      </div>
      <div class="right_con">
        <div class="main_border2_con news">
        
        
    
          
          <div class="newsshow">
          	<span>当前位置：<a href="<%linkurl("index")%>">首页 </a>&gt;<a href="<%linkurl("news_list",46)%>"> {category_title}</a>&gt;</span>
            <h1>{model.title}</h1>
            <p class="time">时间：{model.add_time}&nbsp;&nbsp;&nbsp;&nbsp;来源：{model.fields[source]}</p>
            <hr />
            <div>
            {model.content}
            </div>
            
            <hr />
            
            <!--<div class="pagShow">
              <a class="button" href="#">«上一篇</a>
              <a class="button" href="#">下一篇»</a>
            </div>-->
            <br />
            
            <div class="relevantNews">
              <h4>相关阅读</h4>
              <ul>
               <%set DataTable rednews1=get_article_list("news", model.category_id, 8, "is_red=1 and id<>"+model.id)%>
         
          <%foreach(DataRow dr in rednews1.Rows)%>
          <li><a title="{dr[title]}" href="<%linkurl("news_show",{dr[id]})%>">{dr[title]}</a></li>
          <%/foreach%>
          <%if(rednews1.Rows.Count<1)%>
          <div>同类下暂无推荐的资讯...</div>
          <%/if%>
     
              </ul>
            </div>
            
            
            
          </div>
          
        </div>
      </div>
    </div>
    
  </div>
<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->